package com.dynamic.mybatis.web.vo;

import com.dynamic.mybatis.core.metadata.DynamicPage;

import java.util.Map;

/**
 * @Description
 * @Author xs
 * @Date 2023/3/22 12:03
 */
public class DataSourceVo extends DynamicPage {
    private String uid;
    private String name;
    private String namespace;
    private String code;
    private String url;
    private String driverClass;
    private String databaseType;//数据源类名
    private String databaseName;//数据库名称
    private String username;
    private String password;
    private Map<Object,Object> attribute;


    public String getNamespace() {
        return namespace;
    }

    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDriverClass() {
        return driverClass;
    }

    public void setDriverClass(String driverClass) {
        this.driverClass = driverClass;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDatabaseType() {
        return databaseType;
    }

    public void setDatabaseType(String databaseType) {
        this.databaseType = databaseType;
    }

    public String getDatabaseName() {
        return databaseName;
    }

    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Map<Object, Object> getAttribute() {
        return attribute;
    }

    public void setAttribute(Map<Object, Object> attribute) {
        this.attribute = attribute;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }
}